<?php
class Unit_model extends CI_Model
{
	public $tbl = 'unit';

	public function __contruct()
	{
		parent::__construct();	
	}

	public function All()
	{
		$queryString = "SELECT * FROM $this->tbl";

		$query = $this->db->query($queryString);
		
		return $query->result();
	}
}
?>